<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/init.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jsp:include page="/WEB-INF/jsp/common/common.jsp" />
<jsp:include page="/WEB-INF/jsp_lib/validate.jsp" />
<script type="text/javascript">
	$(function() {
		$("input[name='flag'][value='${verify.flag}']").attr("checked",
				"checked");
		$("input[name='flag_type'][value='${verify.flag_type}']").attr(
				"checked", "checked");
	});
	function mySubmit() {
		$("#form1").submit();
	}
</script>
</head>
<body>
	<div>
		<form action="${path}/ix/verify/do_v.htm" id="form1" method="post">
			<input name='verify_id' value="${verify._id}" type="hidden" />
			<h2>
				<div>机构</div>
			</h2>
			<table width="100%" class="listlindex">
				<tr>
					<th>机构</th>
					<th>机构编号</th>
					<th>机构名称</th>
					<th>机构类型</th>
					<th>机构级别</th>
					<th>省级代码</th>
					<th>区域</th>
					<th>审核类型</th>
					<th>上级机构</th>
				</tr>
				<c:if test="${verify.flag_note!='机构增加审核'}">
					<tr>
						<td>原机构</td>
						<td>${before.code}</td>
						<td>${before.name}</td>
						<td>${before.type}</td>
						<td>${before.level_name}</td>
						<td>${before.city_code}</td>
						<td>${before.area}</td>
						<td>${verify.flag_note}</td>
						<td>${before.super_name}</td>
					</tr>
				</c:if>
				<c:if test="${verify.flag_note=='机构增加审核'}">
					<tr>
						<td>增加机构</td>
						<td>${after.code}</td>
						<td>${after.name}</td>
						<td>${after.type}</td>
						<td>${after.level_name}</td>
						<td>${after.city_code}</td>
						<td>${after.area}</td>
						<td>${verify.flag_note}</td>
						<td>${after.super_name}</td>
					</tr>
				</c:if>
				<c:if test="${verify.flag_note=='机构修改审核'}">
					<tr>
						<td>修改后机构</td>
						<td>${after.code}</td>
						<td>${after.name}</td>
						<td>${after.type}</td>
						<td>${after.level_name}</td>
						<td>${after.city_code}</td>
						<td>${after.area}</td>
						<td></td>
						<td>${after.super_name}</td>
					</tr>
				</c:if>
			</table>
			<div id="response"></div>
			<div class="options" style="margin-top: 20px;">
				<h2>
					<div>审核</div>
				</h2>
				<table width="100%" class="listlindex">
					<tr>
						<th align="right">是否通过：</th>
						<td align="left" colspan="3"><input name="flag" value="通过"
							type="radio" checked="checked">通过 <input name="flag"
								value="不通过" type="radio">不通过 </td>
					</tr>
					<!-- <tr>
						<th align="right">
							审核分类：
						</th>
						<td align="left" colspan="3">
							机构审核
						</td>
					</tr> -->
					<tr>
						<th align="right">备注：</th>
						<td align="left" colspan="3"><textarea name="note" rows="5"
								cols="50" maxlength="255">${verify.note}</textarea></td>
					</tr>
				</table>
			</div>
			<div class="options">
				<a href="javascript:mySubmit();" class="asave"> 【保存】 </a> <a
					href="javascript:goBack();" class="asave"> 【返回】 </a>
			</div>
		</form>
</body>
</html>